'use strict';

var alipay = require('./../lib/alipay');

alipay = new alipay({
    seller_email: '2605360033@qq.com',
    seller_id: '2088021129528422',
    partner: '2088021129528422',
    key: 'j3j2h3o4kweqhr7xad8le0nd1o042lqz', //j3j2h3o4kweqhr7xad8le0nd1o042lqz
    return_url: 'http://139.196.149.202:8000/open/alipay/notify',
    notify_url: 'http://139.196.149.202:8000/open/alipay/notify'
});

var url = alipay.buildWapPayUrl({
    out_trade_no: '123456789012',
    subject: '测试',
    total_fee: 0.01,
    show_url: 'http://www.baidu.com'
});


console.log(url);
